<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" 
CodeFile="Add_User.aspx.vb" Inherits="Add_User" title="CIMS" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <br />
    <table border="0" cellpadding="0" cellspacing="0" width="800">
        <tr><td align="left" style="font-weight: bold; font-size: 10pt; font-family: Arial;">
            User Details</td></tr>
    </table>

    <table border="0" cellpadding="0" cellspacing="0" width="800">
        <tr><td style="font-size: 3px; background-color: #105BA4; height: 3px;"></td></tr>
    </table>

    <table border="0" cellpadding="0" cellspacing="0" width="800">
    
    <tr><td>
    
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr><td style="height: 49px">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 30px;" align="left">
                    &nbsp;Username:</td>
                <td style="width: 200px; height: 30px" align="left">
                    <asp:TextBox ID="Name_txt" runat="server" Width="186px" MaxLength="20"></asp:TextBox></td>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 30px;" align="left">
                    </td>
                <td style="width: 380px; height: 30px" align="left">
                    </td>
            </tr>
            </table>            
        </td></tr>
        </table>            
        
    </td></tr>
    
    <tr><td>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr><td>
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr><td>
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 30px;" align="left">
                        &nbsp;Name:</td>
                    <td style="width: 690px; height: 30px;" align="left">
                        <asp:TextBox ID="LastName_txt" runat="server" Width="186px"></asp:TextBox><asp:TextBox ID="FirstName_txt" runat="server" Width="304px"></asp:TextBox><asp:TextBox ID="MiddleName_txt" runat="server" Width="176px"></asp:TextBox></td>
                </tr>
                </table>            
            </td></tr>
            </table>            
        </td></tr>
        
        <tr><td>        
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 22px;" align="left">
                    &nbsp;Department:</td>
                <td style="width: 200px; height: 22px;" align="left"><asp:DropDownList ID="Dept_cmb" runat="server" Width="194px" AutoPostBack="True">
                        </asp:DropDownList></td>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 22px;" align="left">
                    &nbsp;Role:</td>
                <td style="width: 380px; height: 22px;" align="left"><asp:DropDownList ID="Role_cmb" runat="server" Width="194px">
                        </asp:DropDownList></td>
            </tr>
            </table>            
        </td></tr>

        <tr><td style="height: 41px">        
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 106px;" align="left">
                    &nbsp;Advisor:</td>
                <td style="width: 204px" align="left">
                    <asp:CheckBox ID="Advisor_chk" runat="server" AutoPostBack="True" /></td>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 12px;" align="left">
                    &nbsp;Advisor Level:</td>
                <td style="width: 380px; height: 12px;" align="left"><asp:DropDownList ID="Level_cmb" runat="server" Width="194px">
                        </asp:DropDownList></td>
            </tr>
            </table>            
        </td></tr>       

        <tr><td>        
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr><td>
            
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 28px;" align="left">
                        &nbsp;Address:</td>
                    <td style="width: 310px; height: 28px" align="left">
                        <asp:TextBox ID="Add1_txt" runat="server" Width="300px" MaxLength="500"></asp:TextBox></td>
                    <td style="width: 380px; height: 28px" align="left">
                        <asp:TextBox ID="Add2_txt" runat="server" Width="352px" MaxLength="500"></asp:TextBox>
                    </td>
                </tr>
                </table>
                
            </td></tr>
            <tr><td>
            
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 28px;" align="left">
                        &nbsp;City:</td>
                    <td style="width: 200px; height: 28px" align="left">
                        <asp:DropDownList ID="City_cmb" runat="server" Width="194px">
                        </asp:DropDownList>
                    </td>
                    <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 28px;" align="left">
                        &nbsp;Country:</td>
                    <td style="width: 200px; height: 28px" align="left">
                        <asp:DropDownList ID="Country_cmb" runat="server" Width="190px" AutoPostBack="True">
                        </asp:DropDownList></td>
                    <td style="font-size: 10pt; font-family: Verdana; width: 80px; height: 28px;" align="left">
                        &nbsp;Zip Code:</td>
                    <td style="height: 28px; width: 100px;" align="left">
                        <asp:TextBox ID="Zip_txt" runat="server" Width="72px" MaxLength="20"></asp:TextBox></td>
                </tr>
                </table>
                
            </td></tr>
            </table> 
        </td></tr>
            
        <tr><td>        
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px;" align="left">
                    &nbsp;Telephone No:</td>
                <td style="width: 200px" align="left"><asp:TextBox ID="T1_txt" runat="server" Width="186px" MaxLength="20"></asp:TextBox></td>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 12px;" align="left">
                    &nbsp;Mobile No:</td>
                <td style="width: 380px; height: 12px;" align="left"><asp:TextBox ID="M1_txt" runat="server" Width="184px" MaxLength="20"></asp:TextBox></td>
            </tr>
            </table>            
        </td></tr>
         
        <tr><td>        
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 24px;" align="left">
                    &nbsp;Fax No:</td>
                <td style="width: 200px; height: 24px;" align="left"><asp:TextBox ID="F1_txt" runat="server" Width="186px" MaxLength="20"></asp:TextBox></td>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 24px;" align="left">
                    &nbsp;Email:</td>
                <td style="width: 381px; height: 24px;" align="left"><asp:TextBox ID="Email_txt" runat="server" Width="352px" MaxLength="500"></asp:TextBox></td>
            </tr>
            </table>        
        </td></tr>
     
        <tr><td>
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 108px; height: 44px;" align="left">
                    &nbsp;Remarks:</td>
                <td style="width: 690px; height: 44px" align="left">
                    <asp:TextBox ID="Remarks_txt" runat="server" Width="664px" MaxLength="10" Height="32px" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            </table>            
        </td></tr>

        <tr><td>        
            <table border="0" cellpadding="0" cellspacing="0" width="100%" style="height: 40px">
            <tr>
                <td style="width: 540px; height: 40px;" align="center"></td>            
                <td style="width: 130px; height: 40px;" align="center"><asp:Button ID="Save_btn" runat="server" Text="Save" 
                    BackColor="Gainsboro" Font-Names="Verdana" Width="80px" /></td>
                <td style="width: 130px; height: 40px;" align="center"><asp:Button ID="Cancel_btn" runat="server" Text="Back" 
                    BackColor="Gainsboro" Font-Names="Verdana" Width="80px" CausesValidation="False" /></td>
            </tr>
            </table>        
        </td></tr>
     
        <tr><td>        
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 3px;" align="left"></td>
            </tr>
            </table>
        </td></tr>        
    
        </table>
        
    </td></tr>

    </table>
    <ajaxToolkit:TextBoxWatermarkExtender ID="LastName_TBWM" runat="server" Enabled="true"
        TargetControlID="LastName_txt" WatermarkCssClass="WaterMk" WatermarkText="Last Name">
    </ajaxToolkit:TextBoxWatermarkExtender>
    <ajaxToolkit:TextBoxWatermarkExtender ID="FirstName_TBWM" runat="server" Enabled="true"
        TargetControlID="FirstName_txt" WatermarkCssClass="WaterMk" WatermarkText="First Name">
    </ajaxToolkit:TextBoxWatermarkExtender>
    <ajaxToolkit:TextBoxWatermarkExtender ID="MiddleName_TBWM" runat="server" Enabled="true"
        TargetControlID="MiddleName_txt" WatermarkCssClass="WaterMk" WatermarkText="Middle Name">
    </ajaxToolkit:TextBoxWatermarkExtender>
    <asp:RequiredFieldValidator ID="rfv1" runat="server" ControlToValidate="Name_txt"
        ErrorMessage="Username Required" ForeColor="White" Text="."></asp:RequiredFieldValidator><asp:RequiredFieldValidator
            ID="rfv2" runat="server" ControlToValidate="FirstName_txt" ErrorMessage="First Name Required"
            ForeColor="White" Text="."></asp:RequiredFieldValidator><asp:RequiredFieldValidator
                ID="rfv3" runat="server" ControlToValidate="LastName_txt" ErrorMessage="Last Name Required"
                ForeColor="White" Text="."></asp:RequiredFieldValidator><asp:RequiredFieldValidator
                    ID="rfv4" runat="server" ControlToValidate="Email_txt" ErrorMessage="Email Required"
                    ForeColor="White" Text="."></asp:RequiredFieldValidator><asp:RequiredFieldValidator
                        ID="rfv5" runat="server" ControlToValidate="Dept_cmb" ErrorMessage="Department Required"
                        ForeColor="White" Text="."></asp:RequiredFieldValidator><asp:RequiredFieldValidator
                            ID="rfv6" runat="server" ControlToValidate="Role_cmb" ErrorMessage="Role Required"
                            ForeColor="White" Text="."></asp:RequiredFieldValidator><asp:RequiredFieldValidator
                                ID="rfv7" runat="server" ControlToValidate="Country_cmb" ErrorMessage="Country Required"
                                ForeColor="White" Text="."></asp:RequiredFieldValidator><asp:RequiredFieldValidator
                                    ID="rfv8" runat="server" ControlToValidate="City_cmb" ErrorMessage="City Required"
                                    ForeColor="White" Text="."></asp:RequiredFieldValidator><asp:ValidationSummary ID="ValidationSummary1"
                        runat="server" ShowMessageBox="True" ShowSummary="False" />
    <asp:RegularExpressionValidator ID="revEmail" runat="server" ControlToValidate="Email_txt"
        ErrorMessage="Invalid Email Format" ForeColor="White" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">.</asp:RegularExpressionValidator>
    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server"
        TargetControlID="rfv1">
    </ajaxToolkit:ValidatorCalloutExtender>
    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server"
        TargetControlID="rfv2">
    </ajaxToolkit:ValidatorCalloutExtender>
    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender3" runat="server"
        TargetControlID="rfv3">
    </ajaxToolkit:ValidatorCalloutExtender>
    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender4" runat="server"
        TargetControlID="rfv4">
    </ajaxToolkit:ValidatorCalloutExtender>
    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender5" runat="server"
        TargetControlID="rfv5">
    </ajaxToolkit:ValidatorCalloutExtender>
    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender6" runat="server"
        TargetControlID="rfv6">
    </ajaxToolkit:ValidatorCalloutExtender>
    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender7" runat="server"
        TargetControlID="rfv7">
    </ajaxToolkit:ValidatorCalloutExtender>
    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender8" runat="server"
        TargetControlID="rfv8">
    </ajaxToolkit:ValidatorCalloutExtender>
</asp:Content>